home *** CD-ROM | disk | FTP | other *** search
/ ftp.cs.arizona.edu / ftp.cs.arizona.edu.tar / ftp.cs.arizona.edu / icon / newsgrp / group94a.txt / 000000_icon-group-sender _Thu Jan 6 22:46:36 1994.msg next >
Internet Message Format  |  1994-08-19  |  779b

  1. Received: by cheltenham.cs.arizona.edu; Thu, 6 Jan 1994 21:31:46 MST
  2. Date: 6 Jan 94 22:46:36 GMT
  3. From: walter!news@rutgers.edu  (Darren New)
  4. Organization: Bellcore
  5. Subject: Re: Icon and sockets
  6. Message-Id: <CJ8CLp.EqF@walter.bellcore.com>
  7. Sender: icon-group-request@cs.arizona.edu
  8. To: icon-group@cs.arizona.edu
  9. Status: R
  10. Errors-To: icon-group-errors@cs.arizona.edu
  11.  
  12. > To write servers, the best alternative may be to write a C program 
  13. > that uses accept(2) and then forks an Icon program once a connection 
  14. > is established. 
  15.  
  16. Actually, what I wanted was to manage several sockets simultaneously,
  17. handling connects and disconnects dynamically. I chose to go with a C
  18. process that managed the sockets and wrote to a file which I just poled.
  19. Any better ideas? 
  20.